package hr.fer.zpr.nmbp.project1.model.util;

import java.util.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;

public class DateUtil {

	private static DateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
	
	public static String formatDate(Date date){
		return formatter.format(date);
	}
}
